package com.blrs.domain;

import java.util.Date;

import com.blrs.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.blrs.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 文件变更记录对象 file_change_record
 * 
 * @author ruoyi
 * @date 2023-11-06
 */
public class FileChangeRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 变更id */
    private String recordId;

    /** 内部文件id */
    @Excel(name = "内部文件id")
    private String internalId;

    /** 变更人id */
    @Excel(name = "变更人id")
    private String changedId;

    /** 变更人 */
    @Excel(name = "变更人")
    private String changedName;

    /** 变更时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "变更时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date changeTime;

    /** 变更内容 */
    @Excel(name = "变更内容")
    private String changeContent;

    public void setRecordId(String recordId) 
    {
        this.recordId = recordId;
    }

    public String getRecordId() 
    {
        return recordId;
    }
    public void setInternalId(String internalId) 
    {
        this.internalId = internalId;
    }

    public String getInternalId() 
    {
        return internalId;
    }
    public void setChangedId(String changedId) 
    {
        this.changedId = changedId;
    }

    public String getChangedId() 
    {
        return changedId;
    }
    public void setChangedName(String changedName) 
    {
        this.changedName = changedName;
    }

    public String getChangedName() 
    {
        return changedName;
    }
    public void setChangeTime(Date changeTime) 
    {
        this.changeTime = changeTime;
    }

    public Date getChangeTime() 
    {
        return changeTime;
    }
    public void setChangeContent(String changeContent) 
    {
        this.changeContent = changeContent;
    }

    public String getChangeContent() 
    {
        return changeContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("internalId", getInternalId())
            .append("changedId", getChangedId())
            .append("changedName", getChangedName())
            .append("changeTime", getChangeTime())
            .append("changeContent", getChangeContent())
            .toString();
    }
}
